from django.urls import path
from user.interface import login, profile, create, update, all, delete, password
from user.interface.permissions import all as permission_all, list as permission_list
from user.interface.role import all as role_all, profile as role_profile, create as role_create, \
    update as role_update, delete as role_delete
from user.interface.technology import add as technology_add, delete as technology_delete


urlpatterns = [
    path('login', login.API.as_view()),
    path('profile', profile.API.as_view()),
    path('create', create.API.as_view()),
    path('update', update.API.as_view()),
    path('all', all.API.as_view()),
    path('delete', delete.API.as_view()),
    path('password', password.API.as_view()),
    path('permission/list', permission_list.API.as_view()),
    path('permission/all', permission_all.API.as_view()),
    path('role/all', role_all.API.as_view()),
    path('role/profile', role_profile.API.as_view()),
    path('role/create', role_create.API.as_view()),
    path('role/update', role_update.API.as_view()),
    path('role/delete', role_delete.API.as_view()),
    path('technology/add', technology_add.API.as_view()),
    path('technology/delete', technology_delete.API.as_view()),
]
